﻿namespace ControleRepresentante.Data
{
    public class Parameter
    {
        public Parameter(string name, ParameterType type, object value)
        {
            Name = name;
            Type = type;
            Value = value;
        }

        public Parameter(string name, ParameterType type)
            : this(name, type, null)
        {
            IsOutput = true;
        }

        public bool IsOutput { get; private set; }
        public object Value { get; private set; }
        public ParameterType Type { get; private set; }
        public string Name { get; private set; }
    }
}